TCP Install Guide
To install the TCP module, run:
wget run https://skydocs.madefor.cc/scripts/installtcp.lua
This will:
- Download RedRun
- Move the
startup
file tostartup.bak
- Download the TCP Server as the new startup file
The TCP server will still execute startup.bak
, so your computer will still feel the same.
While the TCP server is active, like redrun, it will convert modem messages into tcp_message
, which you don't have to worry about, but is available if you want to create your
own tcp module.
The tcp_message event is fired when a tcp message is received.
Return Values
- string: The event name.
- number: The ID of the computer this message was received from.
- any: The message as sent by the sender.